package review;

public class Court {
	
	public void judge (BadMan bm) {
		switch (bm.badThing) {
		case "偷盗" : System.out.println("偷盗拘留15天，罚款5000"); break;
		case "酒驾" : System.out.println("吊扣驾照，并拘留3-6个月");break;
		case "谋杀" : System.out.println("执行死刑，剥夺政治权利终身"); break;
		}
	}
}
